package deibay.server.eventargs;

import deibay.messages.Message;
import deibay.network.IFrontEnd;
import deibay.users.User;

public class SendMessageEventArg extends EventArg{

	private Message message = null;
	private IFrontEnd frontend = null;
	
	public SendMessageEventArg(User user, IFrontEnd frontend, Message msg) {
		super(user);
		this.message = msg;
		this.frontend = frontend;
	}

	public IFrontEnd getFrontend() {
		return frontend;
	}

	public Message getMessage() {
		return message;
	}

}
